package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@SpringBootApplication
@MapperScan({"com.example.mapper","com.example.demo.mapper"})
@EnableSwagger2
@EnableCaching
public class JavaspringbootdemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(JavaspringbootdemoApplication.class, args);
    }

}
